docs: Add autokill documentation#66
Conversation
pages/features/autokill.mdx
Outdated
| navigation_icon: timer-off | ||
| --- | ||
|
|
||
| Autokill automatically terminates instances or service groups after a specified condition is met. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'is met' may be passive voice. Use active voice if you can.
pages/features/autokill.mdx
Outdated
| Autokill automatically terminates instances or service groups after a specified condition is met. | ||
| It helps avoid unnecessary resource usage when instances or groups are no longer needed. | ||
|
|
||
| Autokill can be configured on: |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'be configured' may be passive voice. Use active voice if you can.
pages/features/autokill.mdx
Outdated
| It helps avoid unnecessary resource usage when instances or groups are no longer needed. | ||
|
|
||
| Autokill can be configured on: | ||
| - **Instances**: killed after a time or after a number of requests served |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.TooWordy] 'a number of' is too wordy.
pages/features/autokill.mdx
Outdated
|
|
||
| ### Kill after a time | ||
|
|
||
| Automatically kill an instance after it has been stopped for a given number of milliseconds: |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'been stopped' may be passive voice. Use active voice if you can.
pages/features/autokill.mdx
Outdated
|
|
||
| This example kills the instance 1 hour after it stops. | ||
|
|
||
| ### Kill after a number of requests |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.TooWordy] 'a number of' is too wordy.
pages/features/autokill.mdx
Outdated
| } | ||
| ``` | ||
|
|
||
| This example kills the service group 5 minutes after its last instance is removed. |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'is removed' may be passive voice. Use active voice if you can.
pages/features/autokill.mdx
Outdated
|
|
||
| ## Instance template autokill | ||
|
|
||
| Automatically kill an instance template if it has not been cloned within a given number of milliseconds: |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'hasn't' instead of 'has not'.
pages/features/autokill.mdx
Outdated
|
|
||
| ## Instance template autokill | ||
|
|
||
| Automatically kill an instance template if it has not been cloned within a given number of milliseconds: |
There was a problem hiding this comment.
🚫 [vale] reported by reviewdog 🐶
[write-good.Passive] 'been cloned' may be passive voice. Use active voice if you can.
eeb2fbc to
dce51eb
Compare
fe74b15 to
6154c5a
Compare
Signed-off-by: Jerome Jaggi <jerome@unikraft.io>
6154c5a to
50f4fa9
Compare
Summary
Adds a new page documenting the autokill feature for instances, instance templates, and service groups.
What's included
Source
Verified against
unikraft-cloud/platformsource — autokill is implemented in the vmdb schedops layer.